import request from "@/utils/request"

// 获取考试题目列表
export const listExamPaper = (params = {}) => { return request.get('/business/examPaper/list', { params }) }
// 获取考考试题目详情
export const getExamPaperById = (params) => { return request.get(`/business/examPaper/${params}`) }
// 删除考试题目
export const deleteExamPaper = (params) => { return request.delete('/business/examPaper', { data: params }) }
// 修改考试题目
export const updateExamPaper = (params = {}) => { return request.put(`/business/examPaper`, params) }
// 新增考试题目
export const addExamPaper = (params = {}) => { return request.post('/business/examPaper', params) }